<?php
/**
 * Copyright 2013 Marek Kaszewski
 *
 * This file is part of the JHUB1 Online Community Project
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

namespace Jhub1_Common\Model\Endpoint\Prototype;

use Jhub1_Common\Model\Endpoint\AbstractPrototype;

class Boolean extends AbstractPrototype
{
    public $switchtype;
    public $truevalue;
    public $falsevalue;

    /**
     * @Annotation\Type("Zend\Form\Element\Submit")
     * @Annotation\Attributes({"value":"Submit"})
     */
    public $submit;

    /**
     * @param mixed $falsevalue
     */
    public function setFalsevalue($falsevalue)
    {
        $this->falsevalue = $falsevalue;
    }

    /**
     * @return mixed
     */
    public function getFalsevalue()
    {
        return $this->falsevalue;
    }

    /**
     * @param mixed $switchtype
     */
    public function setSwitchtype($switchtype)
    {
        $this->switchtype = $switchtype;
    }

    /**
     * @return mixed
     */
    public function getSwitchtype()
    {
        return $this->switchtype;
    }

    /**
     * @param mixed $truevalue
     */
    public function setTruevalue($truevalue)
    {
        $this->truevalue = $truevalue;
    }

    /**
     * @return mixed
     */
    public function getTruevalue()
    {
        return $this->truevalue;
    }


    public function toString()
    {
        // TODO: Implement toString() method.
    }

    public function getDescription()
    {
        // TODO: Implement getDescription() method.
    }
}
